// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_FIN_RETURN_MONEY
// * CreateDate    : 2014-06-05 18:29:52
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:29:52
// * LastChanger   : 2014-06-05 18:29:52
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class FinReturnMoneyTable : TableInfo
    {
		public const string C_TableName = "FIN_RETURN_MONEY";
		
		public const string C_RETURN_MONEY_ID = "RETURN_MONEY_ID";
		public const string C_RETURN_MONEY_CODE = "RETURN_MONEY_CODE";
		public const string C_RETURN_CODE = "RETURN_CODE";
		public const string C_CUSTOMER_NAME = "CUSTOMER_NAME";
		public const string C_TOTAL_AMOUNT = "TOTAL_AMOUNT";
		public const string C_CREATE_NAME = "CREATE_NAME";
		public const string C_CREATE_TIME = "CREATE_TIME";
		public const string C_MODIFY_NAME = "MODIFY_NAME";
		public const string C_MODIFY_TIME = "MODIFY_TIME";
		public const string C_DESCRIPTION = "DESCRIPTION";
		public const string C_STATUS = "STATUS";
		
		public FinReturnMoneyTable()
        {
            _tableName = "FIN_RETURN_MONEY";
        }
		
		protected static FinReturnMoneyTable _current;
        public static FinReturnMoneyTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new FinReturnMoneyTable();

            _current.Add(C_RETURN_MONEY_ID, new ColumnInfo(C_RETURN_MONEY_ID,"ReturnMoneyId", true, typeof(string)));
            _current.Add(C_RETURN_MONEY_CODE, new ColumnInfo(C_RETURN_MONEY_CODE,"ReturnMoneyCode", false, typeof(string)));
            _current.Add(C_RETURN_CODE, new ColumnInfo(C_RETURN_CODE,"ReturnCode", false, typeof(string)));
            _current.Add(C_CUSTOMER_NAME, new ColumnInfo(C_CUSTOMER_NAME,"CustomerName", false, typeof(string)));
            _current.Add(C_TOTAL_AMOUNT, new ColumnInfo(C_TOTAL_AMOUNT,"TotalAmount", false, typeof(string)));
            _current.Add(C_CREATE_NAME, new ColumnInfo(C_CREATE_NAME,"CreateName", false, typeof(string)));
            _current.Add(C_CREATE_TIME, new ColumnInfo(C_CREATE_TIME,"CreateTime", false, typeof(DateTime)));
            _current.Add(C_MODIFY_NAME, new ColumnInfo(C_MODIFY_NAME,"ModifyName", false, typeof(string)));
            _current.Add(C_MODIFY_TIME, new ColumnInfo(C_MODIFY_TIME,"ModifyTime", false, typeof(DateTime)));
            _current.Add(C_DESCRIPTION, new ColumnInfo(C_DESCRIPTION,"Description", false, typeof(string)));
            _current.Add(C_STATUS, new ColumnInfo(C_STATUS,"Status", false, typeof(string)));
			
		}
		
		public ColumnInfo RETURN_MONEY_ID
        {
            get { return this[C_RETURN_MONEY_ID]; }
        }
		
		public ColumnInfo RETURN_MONEY_CODE
        {
            get { return this[C_RETURN_MONEY_CODE]; }
        }
		
		public ColumnInfo RETURN_CODE
        {
            get { return this[C_RETURN_CODE]; }
        }
		
		public ColumnInfo CUSTOMER_NAME
        {
            get { return this[C_CUSTOMER_NAME]; }
        }
		
		public ColumnInfo TOTAL_AMOUNT
        {
            get { return this[C_TOTAL_AMOUNT]; }
        }
		
		public ColumnInfo CREATE_NAME
        {
            get { return this[C_CREATE_NAME]; }
        }
		
		public ColumnInfo CREATE_TIME
        {
            get { return this[C_CREATE_TIME]; }
        }
		
		public ColumnInfo MODIFY_NAME
        {
            get { return this[C_MODIFY_NAME]; }
        }
		
		public ColumnInfo MODIFY_TIME
        {
            get { return this[C_MODIFY_TIME]; }
        }
		
		public ColumnInfo DESCRIPTION
        {
            get { return this[C_DESCRIPTION]; }
        }
		
		public ColumnInfo STATUS
        {
            get { return this[C_STATUS]; }
        }
		
		
		
	}
}

